package com.atguigu.springboot.mapper;

import com.atguigu.springboot.bean.SysMenu;

import java.util.List;

public interface SysMenuMapper {
    int deleteByPrimaryKey(Integer menuId);

    int insert(SysMenu record);

    int insertSelective(SysMenu record);

    SysMenu selectByPrimaryKey(Integer menuId);

    /**
     * 查询所有的菜单
     * @return
     */
    List<SysMenu> selectMenuAll();

    int updateByPrimaryKeySelective(SysMenu record);

    int updateByPrimaryKey(SysMenu record);
}